home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / inetutil.1 / inetutil / inetutils-1.1 / config.make.in < prev    next >
Encoding:
Text File  |  1996-07-26  |  2.5 KB  |  87 lines

  1. # Configuration-derived make variables for inetutils
  2. #
  3. # Copyright (C) 1995, 1996 Free Software Foundation, Inc.
  4. #
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. #
  19.  
  20. SHELL = /bin/sh
  21.  
  22. VPATH = $(srcdir)
  23.  
  24. prefix = @prefix@
  25. exec_prefix = @exec_prefix@
  26. bindir = @bindir@
  27. includedir = @includedir@
  28. libdir = @libdir@
  29. sbindir = @sbindir@
  30. libexecdir = @libexecdir@
  31. sysconfdir = @sysconfdir@
  32. localstatedir = @localstatedir@
  33. sharedstatedir = @sharedstatedir@
  34. mandir = @mandir@
  35. man1dir = $(mandir)/man1
  36. man5dir = $(mandir)/man5
  37. man8dir = $(mandir)/man8
  38.  
  39. INSTALL = @INSTALL@
  40. INSTALL_DATA = @INSTALL_DATA@
  41. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  42. AR = @AR@
  43. RANLIB = @RANLIB@
  44. CC = @CC@
  45. YACC = @YACC@
  46. DEFS = @DEFS@
  47. LIBS = @LIBS@
  48. CFLAGS = @CFLAGS@
  49. LDFLAGS = @LDFLAGS@
  50. RM = @RM@
  51. MKINSTDIRS = $(SHELL) $(top_srcdir)/mkinstalldirs
  52.  
  53. LIBCURSES = @LIBCURSES@
  54. LIBAUTH = @LIBAUTH@
  55. LIBTERMCAP = @LIBTERMCAP@
  56. LIBCRYPT = @LIBCRYPT@
  57. LIBUTIL = @LIBUTIL@
  58.  
  59. CPPFLAGS += $(DEFS) -I$(srcdir) -I../include
  60. LDLIBS += -L../libinetutils -linetutils $(LIBS)
  61.  
  62. RULES = $(top_srcdir)/rules.make
  63.  
  64. # Link or copy the file $$DISTFILE (a shell variable) into $(DISTDIR)/$$FILE
  65. define _LINK_DISTFILE
  66.   if test -d $$DISTFILE; then                     \
  67.     echo mkdir $(DISTDIR)/$$FILE; mkdir $(DISTDIR)/$$FILE;     \
  68.   else                                 \
  69.     { ln 2>/dev/null $$DISTFILE $(DISTDIR)/$$FILE         \
  70.       && echo ln $$DISTFILE $(DISTDIR)/$$FILE; }         \
  71.     || { echo cp -p $$DISTFILE $(DISTDIR)/$$FILE         \
  72.         ; cp -p $$DISTFILE $(DISTDIR)/$$FILE; };         \
  73.   fi
  74. endef
  75.  
  76. # Link or copy every file in $(DISTFILES) + Makefile.in from $(srcdir)
  77. # and any file in $(OPT_DISTFILE) that exists in the current directory,
  78. # into $(DISTDIR)
  79. define LINK_DISTFILES
  80.   @for FILE in Makefile.in $(DISTFILES); do \
  81.     DISTFILE=$(srcdir)/$$FILE; $(_LINK_DISTFILE); \
  82.   done
  83.   @for FILE in $(OPT_DISTFILES); do \
  84.     test -e "$$DISTFILE" && { DISTFILE="$$FILE"; $(_LINK_DISTFILE) } || :; \
  85.   done
  86. endef
  87.